package net.lainiao.manager.beetl;

import org.beetl.core.GroupTemplate;
import org.beetl.core.Template;
import org.beetl.ext.web.WebRenderExt;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by Administrator on 2017/1/9.
 */
public class BeetlShare implements WebRenderExt {
    static long version = System.currentTimeMillis();
    @Override
    public void modify(Template template, GroupTemplate gt, HttpServletRequest request, HttpServletResponse response) {
        template.binding("VERSION",version);
    }
}
